package entity;

public class Message {
    private String recipient;
    private String content;
    private String sender;
    private int isRead;
    private int mid;

    public Message() {
    }

    public int getMid() {
        return mid;
    }

    public void setMid(int mid) {
        this.mid = mid;
    }

    public Message(String recipient, String content, String sender, int isRead) {
        this.recipient = recipient;
        this.content = content;
        this.sender = sender;
        this.isRead = isRead;
    }

    public String getRecipient() {
        return recipient;
    }

    public void setRecipient(String recipient) {
        this.recipient = recipient;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getSender() {
        return sender;
    }

    public void setSender(String sender) {
        this.sender = sender;
    }

    public int getIsRead() {
        return isRead;
    }

    public void setIsRead(int isRead) {
        this.isRead = isRead;
    }
}
